/**
 * 获取下载分类列表信息
 * @param {*} body 
 * @returns 
 */
export const useLoadDownloadsCategoriesApi = () => {
    return useHttpPost("/downloads/category/list")
}

/**
 * 查询下载信息
 */
export const useLoadDownloadsApi = (body) => {
    return useHttpPost("/downloads/list",{body})
}


/**
 * 查询推荐的下载信息
 */
export const useLoadPushDownloadsApi = (body) => {
    return useHttpPost("/downloads/push/list",{body})
}


/**
 * 根据下载id查询明细信息
 */
export const useLoadDownloadsDetail = (id) => {
    return useHttpPost(`/downloads/detail/${id}`,{})
}
